package com.framework.loippi.entity;

import com.framework.loippi.mybatis.eitity.GenericEntity;
import com.framework.loippi.mybatis.ext.annotation.Column;
import com.framework.loippi.mybatis.ext.annotation.Table;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * Entity - 通知信息表
 * 
 * @author wmj
 * @version 2.0
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Table(name = "T_NOTICE")
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties({ "handler","hibernateLazyInitializer" }) 
@ApiModel(value="通知信息表",description="通知信息表")
public class Notice implements GenericEntity {

	private static final long serialVersionUID = 5081846432919091193L;

	/**  */
	@Column(id = true, name = "id", updatable = false)
	@ApiModelProperty(value = "")
	private Long id;
	
	/** 数据id */
	@Column(name = "data_id" )
	@ApiModelProperty(value = "数据id")
	private Long dataId;
	
	/** 消息内容 */
	@Column(name = "content" )
	@ApiModelProperty(value = "消息内容")
	private String content;
	
	/** 发送时间 */
	@Column(name = "create_time" )
	@ApiModelProperty(value = "发送时间")
	private java.util.Date createTime;
	
	/** 消息类型（0 就诊提醒，1 订单消息，3 其他 ） */
	@Column(name = "type" )
	@ApiModelProperty(value = "消息类型（0 就诊提醒，1 订单消息，3 其他 ）")
	private Integer type;
	
	/** 创建者(消息发送者) */
	@Column(name = "creator" )
	@ApiModelProperty(value = "创建者(消息发送者)")
	private Long creator;
	
}
